package com.gjy.design.factory.simple;

/**
 * @author gjy
 * @version 1.0
 * @since 2025-11-10 11:12:57
 */
public class Demo {

    public static void main(String[] args) {
        Transport t1 = LogisticsFactory.createTransport(LogisticsFactory.GROUND);
        t1.deliver();

        Transport t2 = LogisticsFactory.createTransport(LogisticsFactory.SEA);
        t2.deliver();
    }

}
